package ly.sjun.design.prototype_pattern.food;

import ly.sjun.design.prototype_pattern.Food;

/**
 * @ClassName: Apple
 * @Author: ly
 * @Date: 2023/2/3-9:21
 * @Description 苹果
 **/
public class Apple extends Food {

    public Apple(){
        type = "苹果";
    }

    @Override
    protected String show() {
        return "苹果[id:"+getId()+"]";
    }
}
